package com.lock.immersive.pojo.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.lock.immersive.pojo.enums.Size;
import com.lock.immersive.pojo.enums.TuanProcess;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName user_tuan
 */
@TableName(value ="user_tuan")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserTuan implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer userTuanId;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private Integer tuanId;

    /**
     * 
     */
    private Integer productId;

    /**
     * 
     */
    private Integer productItemId;
    private Integer merchantId;
    /**
     * 
     */
    private Size productItemSize;

    /**
     * 0 意向金 1 定金 2 尾款 3 完成
     */
    private Integer processNo;

    /**
     * 
     */
    private TuanProcess tuanProcess;

    /**
     * 
     */
    private TuanProcess nextTuanProcess;

    /**
     * 定金卡物流名称
     */
    private String cardShippingName;

    /**
     * 定金卡物流号
     */
    private String cardShippingCode;

    /**
     * 0 未评论 1 已评论
     */
    private Integer buyerRate;

    /**
     * 意向金订单号
     */
    private String yixiangjinOutTradeNo;

    /**
     * 
     */
    private Integer yixiangjinOrderId;

    /**
     * 
     */
    private String yixiangjinCreateTime;

    /**
     * 定金订单号
     */
    private String dingjinOutTradeNo;

    /**
     * 
     */
    private Integer dingjinOrderId;

    /**
     * 
     */
    private String dingjinCreateTime;

    /**
     * 尾款订单号
     */
    private String weikuanOutTradeNo;

    /**
     * 
     */
    private Integer weikuanOrderId;

    /**
     * 
     */
    private String weikuanCreateTime;

    /**
     * 商品物流名称
     */
    private String productShippingName;

    /**
     * 物流单号
     */
    private String productShippingCode;

    @TableLogic
    private Integer isDelete = 0;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}